package com.lwj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ；lwj
 * @since 2025-1-15
 */
@Getter
@Setter
@TableName("tb_content")
public class Content implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long categoryId;  //种类
    private String title;    //名称
    private String url;  //链接
    private String pic;  //图片绝对路径


    @TableField(exist = false)
    private String cname;


}
